<div class="faculty-info">
  <h1><?php echo $faculty['name']; ?></h1>
  <span class="info">
    <p><strong>Campus:</strong> <?php echo $faculty['campus_name']; ?></p>
  </span>
</div>
<!-- Lista de Ramos -->
<div class="subjects-list">
  <ul>
    <?php foreach($subjects as $subject): ?>
    <li>
      <?php echo anchor('viewsubject/' . url_title($faculty['campus_name']) . '/' . url_title($faculty['name']) . '/' . url_title($subject['name']) . '/' . $subject['id_subject'], $subject['name']); ?> <em>(<?php echo $subject['period'] ?>)</em>
    </li>
    <?php endforeach; ?>
  </ul>
  <?php if( count($subjects) == 0): ?><span class="no-items">No existen cursos activos</span><?php endif; ?>
</div>